package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;

@Table(name = "k8s_operation_record")
public class K8sOperationRecord extends BaseEntity<Long> {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@Id
	@Column(name = "id")
	private Long id;

	/**
	 * 
	 */
	@Column(name = "k8s_url")
	private String k8sUrl;
	/**
	 * 
	 */
	@Column(name = "namespace")
	private String namespace;
	/**
	 * 
	 */
	@Column(name = "operation_object")
	private String operationObject;
	/**
	 * 
	 */
	@Column(name = "operation_id")
	private String operationId;
	/**
	 * 
	 */
	@Column(name = "operation_type")
	private String operationType;
	/**
	 * 
	 */
	@Column(name = "replicas")
	private Integer replicas;
	/**
	 * 
	 */
	@Column(name = "status")
	private String status;
	/**
	 * 
	 */
	@Column(name = "create_time")
	private String createTime;
	/**
	 * 
	 */
	@Column(name = "last_update_time")
	private String lastUpdateTime;
	/**
	 * 
	 */
	@Column(name = "LOCK_VERSION")
	private Long lockVersion;
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getK8sUrl() {
		return k8sUrl;
	}

	public void setK8sUrl(String k8sUrl) {
		this.k8sUrl = k8sUrl;
	}

	public Integer getReplicas() {
		return replicas;
	}

	public void setReplicas(Integer replicas) {
		this.replicas = replicas;
	}

	public String getOperationObject() {
		return operationObject;
	}

	public void setOperationObject(String operationObject) {
		this.operationObject = operationObject;
	}

	public String getOperationId() {
		return operationId;
	}

	public void setOperationId(String operationId) {
		this.operationId = operationId;
	}

	public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public Long getLockVersion() {
		return lockVersion;
	}

	public void setLockVersion(Long lockVersion) {
		this.lockVersion = lockVersion;
	}

}